package com.leo.protocol;

import lombok.Data;

import static com.leo.protocol.Command.LOGIN_REQUEST;

/**
 * @ClassName LoginRequestPacket
 * @Description 登录请求封装类
 * @Author wangss
 * @date 2022.03.24 20:19
 * @Version 1.0
 */
@Data
public class LoginRequestPacket extends Packet {

    private String userId;

    private String username;

    private String password;

    @Override
    public Byte getCommand() {
        return LOGIN_REQUEST;
    }
}
